home *** CD-ROM | disk | FTP | other *** search
- Path: news.coli.uni-sb.de!not-for-mail
- From: mreckt@cscip.uni-sb.de (Martin Recktenwald)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: time-like gadgets
- Date: 11 Apr 1996 07:55:02 GMT
- Organization: University of Saarbruecken, Germany
- Message-ID: <4kidsm$ci8@coli-gate.coli.uni-sb.de>
- References: <447.6673T637T93@mailbox.swipnet.se>
- NNTP-Posting-Host: cip78.cscip.uni-sb.de
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- Daniel Adolfsson (m-29431@mailbox.swipnet.se) wrote:
- :
- : Can anyone point me in the right direction on how to create and update
- : gadgets like the system program SYS:Prefs/Time does? (I mean how all the
- : days gadgets change when you change the month). I just dont understand how
- : I should do it (updating the gadgetlist or something like that..)
- :
- I did something like this some time ago. I used 28 - 31 old-style gadgets
- for the days; I removed them every time the month-gadget was pressed
- and added them at their new position.
- The only problem was getting the day of the week a month starts with.
- If you really need it, I could dig out the source; but I really would
- recommend writing it yourself, my source looks somehow ugly, and
- implementing the thing as a BOOPSI gadget could be a good idea.
-
- Regards,
- Martin.
- -------------------------------------------------------------------------
- If you can`t understand anything above, it`s because of my bad English.
- However, I have the right to make faults, and you have the right
- to mail them to me ;-)
- -------------------------------------------------- mreckt@cscip.uni-sb.de
-